Skip to content

Added: GhostObject sweep- and raytest#251

Closed
rainmantsr wants to merge 1 commit into
jMonkeyEngine:masterfrom
rainmantsr:master
Closed

Added: GhostObject sweep- and raytest#251
rainmantsr wants to merge 1 commit into
jMonkeyEngine:masterfrom
rainmantsr:master

Conversation

@rainmantsr
Copy link
Copy Markdown
Contributor

No description provided.

@empirephoenix
Copy link
Copy Markdown
Contributor

Hi, thanks for your work,

can you shortly explain what this does and why it is necessary?
Also what the difference to the normal ray and sweep is. I have not used Ghostobjects before and don't know what they are usefull for :)

@rainmantsr
Copy link
Copy Markdown
Contributor Author

Hmm - actually I am not 100% sure about it. I just wrapped it;) I think it reuses the results form the broadphase to make a faster sweep/raytest. Bullet uses it internally for the KinematicCharacterController. In my tests it has been faster than the sweepTest against the dynamicsWorld, but not as fast as I hoped;) I am currently working on a small physx wrapper prototype to check if this gives me the performance i need...

@empirephoenix
Copy link
Copy Markdown
Contributor

I think, that since they apparently did not give a great performance boost, and are not documented in the bullet library at all, this could create quite some issues. So if no one objects I'm closing this next time i review the pull requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants